package com.yr.ryjk.backdoor.dao;

import org.apache.ibatis.annotations.ResultMap;
import org.apache.ibatis.annotations.Select;

import com.yr.ryjk.backdoor.entity.Backdoor;

public interface BackdoorMapper {
    int deleteByPrimaryKey(String id);

    int insert(Backdoor record);

    int insertSelective(Backdoor record);

    Backdoor selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Backdoor record);

    int updateByPrimaryKey(Backdoor record);
    
    @Select("select * from back_door")
    @ResultMap("BaseResultMap")
    Backdoor selectBackdoor();
}